﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BDD.TicTacToe.Acceptance.Tests.PageObjects;
using NUnit.Framework;
using TechTalk.SpecFlow;

namespace BDD.TicTacToe.Acceptance.Tests.Steps
{
    [Binding]
	public class GameStateSteps
	{
        [Then(@"""(.*)"" should be asked to make the next move")]
        public void TheNextMoveShouldBeFor(string player)
        {
            Assert.That(GamePage.NextPlayerToPlaceToken, Is.EqualTo(player));
        }
	}
}
